how to use markers to automate sequence